<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2018/8/23
 * Time: 11:20
 */

namespace app\weixin\controller;
use think\Db;

class CityPartnerList extends Base
{
   public function index(){
       $this->assign('title','合伙人列表');
       //页面内容
       $data = Db::table('php_partner')->where(['status' => 1])->order('id desc')->select();
       $this->assign('data',$data);
       return view();
   }
}